@(loginform: Form[models.Login])

@import helper._
@main(""){

<div>
        @helper.form(routes.UserAdmin.authenticate()) {
            
            <h1>Sign in</h1>
            <h6></h6>
            
            @if(loginform.hasGlobalErrors) { 
                <p class="error">
                    @loginform.globalError.message
                </p>
            }
            
            @if(flash.contains("success")) {
                <p class="success">
                    @flash.get("success")
                </p>
            }
<div class="col-md-3">

		<div class="form-group">
		                <label >User ID: </label>
		                <input class="form-control"  type="userId" name="userId" placeholder="account" value="@loginform("gzhang").value">
		</div>
		
		<div class="form-group">
		                <label >Password:</label>
		                <input class="form-control"  type="password" name="password" placeholder="Password">
		</div>
        <div>
            <button type="submit" class="btn">Login</button>
        </div>
</div>       
            }
</div>


}